package com.zh.work.entity.channel;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("快捷路由实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("quick_route")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class QuickRouteEntity extends CommonRouteEntity {
  private static final long serialVersionUID = -4957428847417822759L;

  @ApiModelProperty(value = "主键", name = "id")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  @ApiModelProperty(value = "支付跳转地址", name = "payAction")
  private String payAction;
  @ApiModelProperty(value = "通道序号", name = "channelIndex")
  private Integer channelIndex;
  @ApiModelProperty(value = "1-api支付 2-网页支付", name = "payMode")
  private Integer payMode;

  @ApiModelProperty(value = "机构名称", name = "branchName")
  @TableField(exist = false)
  private String branchName;
  @ApiModelProperty(value = "代理商名称", name = "agentName")
  @TableField(exist = false)
  private String agentName;
  @ApiModelProperty(value = "商户名称", name = "merchantName")
  @TableField(exist = false)
  private String merchantName;

}
